//面包屑
const path = ['仓库管理', '物料其他出入库', '物料出库单'];
//搜索条件
const filterOption = {
	items: [{
		label: "关键字",
		type: "input",
		data: undefined,
		placeholder: "",
		value: undefined,
		key: "keyWord"
	},
	{
		label: "出库单状态",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "bbb"
	},
	{
		label: "出库仓库",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "ccc"
	},
	{
		label: "创建人",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "ddd"
	},
	{
		label: "创建时间",
		type: "datetimerange",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "createTime"
    },
    {
		label: "审批时间",
		type: "datetimerange",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "fff"
	}],
	btnGroup: [{
			label: "查询",
			type: "search"
		},
		{
			label: "清除",
			type: "clear"
		}
	],
	close: true
};
//状态类型
const configArr = [
	{
        color: "brown",
        label: "全部物料出库单",
        value: "type1",
        count: 300
    },
    {
        color: "green",
        label: "待审批",
        value: "type2",
        count: 300
    },
    {
        color: "green",
        label: "待复审",
        value: "type2",
        count: 300
    },
]
//销售出库单列表
const tableHeaderData = [
	{
		prop:'aaa',
		label:'出库仓库',
		width:'140'
	},
	{
		prop:'bbb',
		label:'创建人',
		width:'160'
	},
	{
		prop:'ddd',
		label:'创建日期',
		width:''
	},
	{
		prop:'eee',
		label:'审批人',
		width:''
	},
	{
		prop:'ggg',
		label:'审批时间',
		width:''
    },
    {
		prop:'hhh',
		label:'状态',
		width:''
    }
]
//表格数据
const tableData = [
    {
        outStorageNumber:10086
    }
];
//分页数据
const paginationObject = {
	currentPage: 1,
	pageSize: 1,
	pageTotal: 1,
	total:1,
	num1:1,
	num2:1
}
let Model = {
	data() {
		return {
			Model: {
				path: path,
				paginationObject,
				configArr,
				filterOption: filterOption,
				tableHeaderData,							//出库单列表（表头）
				tableData,									//出库单列表数据
			}
		}
	}
}
export default Model;
